﻿using LtMbs;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.VisualStudio.TestTools.UnitTesting.Web;

namespace KalahariTestingProject
{
    
    
    /// <summary>
    ///This is a test class for CaseTest and is intended
    ///to contain all CaseTest Unit Tests
    ///</summary>
    [TestClass()]
    public class CaseTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for RetreiveFeedback
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan.Rihan-PC\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void RetreiveFeedbackTest()
        {
            LtMbs.Case_Accessor target = new LtMbs.Case_Accessor(); // TODO: Initialize to an appropriate value
            target.RetreiveFeedback();
        }

        /// <summary>
        ///A test for LaunchWorkFlow
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan.Rihan-PC\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void LaunchWorkFlowTest()
        {
            LtMbs.Case_Accessor target = new LtMbs.Case_Accessor(); // TODO: Initialize to an appropriate value
            string EntityId = string.Empty; // TODO: Initialize to an appropriate value
            string entityType = string.Empty; // TODO: Initialize to an appropriate value
            string WorkFlowId = string.Empty; // TODO: Initialize to an appropriate value
            target.LaunchWorkFlow(EntityId, entityType, WorkFlowId);
        }

        /// <summary>
        ///A test for ConvertCrmEmailIntoIncident
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan.Rihan-PC\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void ConvertCrmEmailIntoIncidentTest()
        {
            LtMbs.Case_Accessor target = new LtMbs.Case_Accessor(); // TODO: Initialize to an appropriate value
            string CrmEmailId = string.Empty; // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            actual = target.ConvertCrmEmailIntoIncident(CrmEmailId);
            Assert.AreEqual(expected, actual);
        }

        /// <summary>
        ///A test for Case Constructor
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan.Rihan-PC\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void CaseConstructorTest()
        {
            LtMbs.Case_Accessor target = new LtMbs.Case_Accessor();
        }
    }
}
